package com.jcfk.eam.domain.po.main;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.jcfk.common.business.entity.BaseEntity;
import lombok.Data;

/**
 * 巡检计划负责人
 *
 * @author awei
 * @email 522891237@gqq.com
 * @date 2024-09-24
 */
@Data
@TableName("eam_inspection_plan_person")
public class EamInspectionPlanPerson extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 计划主键
     */
    @TableField("plan_id")
    private String planId;

    /**
     * 负责人主键
     */
    @TableField("person_id")
    private String personId;

    /**
     * 用户表主键
     */
    @TableField("user_id")
    private String userId;

    /**
     * 负责人姓名
     */
    @TableField("person_name")
    private String personName;
    /**
     * 负责人
     */
    @TableField("person_emp_no")
    private String personEmpNo;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 是否停用
     */
    @TableField("enabled")
    private Integer enabled;

    /**
     * 组织机构主键
     */
    @TableField("organization_id")
    private String organizationId;

    /**
     * 创建人
     */
    @TableField("created_user_name")
    private String createdUserName;

    /**
     * 更新人
     */
    @TableField("last_updated_user_name")
    private String lastUpdatedUserName;

    @Version
    @TableField(value = "version")
    private Long version;
}
